package what.basic.collection;

import java.util.EnumSet;

public class enumset {
	public enum dayofweek{
		sunday,monday,tuesday,wednsday,thursday,friday,saturday;
	}
	public enum month{
		January,February,March,April,May,June,July,August,September,October,November,December;
	}
	public enum season{
		spring,summer,autumn,winter;
	}
	public static void main(String[] args){
		EnumSet<dayofweek> schoolworkday=EnumSet.of(dayofweek.monday,dayofweek.tuesday);
		for(dayofweek day:schoolworkday)
			System.out.println(day);
	}
}
